﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OVS.CoreDomain.Business
{
    public interface IBusinessCandidate
    {

        ICandidate GetCandidate(string voterId, IConstituency constituency);
        ICandidate GetCandidate(int candidateId);

        IList<ICandidate> SearchCandidates(ICandidateSearchCriteria candidateSearchCriteria);
        List<ICandidate> GetCandidates( IConstituency constituency);
        bool AddCandidate(ICandidate candidate);
        bool UpdateCandidate(ICandidate candidate);
        ICandidate GetVotes(ICandidate candidate);
        bool UpdateVote(ICandidate candidate,IVoter voter);

    }
}
